package Tools;

import com.jme.math.Vector3f;

public class Utiles {

	public static int[] calcularPosicionEnTablero(Vector3f pos) {
		int[] a = new int[2];

		a[0] = (int) (pos.x / 10);
		;
		a[1] = (int) (pos.z / 10);

		return a;

	}

	public static void mostrarTablero(boolean[][] mazeData, int[] resaltar) {
		for (int i = 0; i < 20; i++) {
			for (int j = 0; j < 20; j++) {

				if (resaltar[0] == i && resaltar[1] == j) {
					System.out.print("2");
				} else if (mazeData[i][j] == true)
					System.out.print("1");
				else
					System.out.print("0");
			}
			System.out.println("");
		}

	}

	public Utiles() {
		// TODO Auto-generated constructor stub
	}
}
